AMARILLO, Texas - A JetBlue Airways captain accused of disrupting a flight when he left the cockpit screaming about religion and terrorists plans to use an insanity defence at trial.

An attorney for Clayton F. Osbon filed a motion Wednesday outlining plans to argue Osbon was insane at the time of the incident on the March 27 flight from New York to Las Vegas.

Osbon remains jailed in Texas awaiting a court-ordered psychiatric exam to determine his competency for trial and whether he was legally sane when witnesses say he left the cockpit and ran screaming through the cabin.

Passengers wrestled him to the floor, and he was subdued until the plane made an emergency landing in Amarillo.

Prosecutor Christy Drake declined to comment on the filing.