An American Airlines flight was forced to divert to Logan Airport due to a cracked windshield, State Police said.