Joey Logano led a career-high 323 laps to win the Window World 450 at North Wilkesboro, the first Cup points race there in 30 years, over Denny Hamlin.