Always allow at least 20 minutes for security, but you can do a same-day check of screening line times at: http://www.whatsbusy.com/airport. Logan's pre-security area is open 24 hours, but TSA security checkpoints typically open an hour before the first departure.