The EFF and ACLU have been fighting that belief for years. They're making progress but they're not quite there yet.
https://www.theregister.com/2023/05/31/us_border_phone_searc...
But generally speaking, don't bring your real phone to the USA. Bring a burner phone that's empty. Download whatever it is you need on the phone well after you've cleared the border.