Sorry, not 11pm but just another data point... Arrived at 6:30pm on a Friday in June, clearing customs and immigration (and clearing security again) was quick enough for us to connect to an 8:35pm flight at a different terminal with a bit of time to dilly dally.