Alani's attorney, Christian Dunham, argued in court that prosecutors would not be able to prove that Alani meant to put people on the plane in danger. He added that if Alani actually had ties to ISIS, he should have been on a no-fly or watch list.
Judge Chris McAliley denied Alani bond and cited several factors, including that he "may be very sympathetic to terrorists."
"For you to take this step is shocking and unconscionable," she said. "This was not a momentary, compulsive act. You had time to think about it. This was a crazy idea that you deliberated and went through with it. That's of great concern. If you're capable of that, I have to ask if you'd follow bond orders."
American Airlines fired Alani Sept. 7.