Yes. All connecting flights are treated as flights entering the US, so you must clear immigration, regardless of your final destination. You get your bags from the carousel, then clear customs, and drop them off again, then go line up for security. I would suggest avoiding a connection through...