Question: how long does it take to get through us immigration?
Answer: Your inbound flight could be delayed (generally I'd assume a delay of up to about 30 minutes is pretty “standard”) You could wait in the immigration line for up to an hour. It could take you 30 minutes to once again clear security before your connecting flight.