Passengers were stranded for over 24 hours on flights operated by JetBlue and American Airlines out of Boston.