EFF to Second Circuit: Electronic Device Searches at Border Require a Warrant
eff.org
eff.org
That's in the 4th Amendment.
But that said, I would agree that carte blanche right to "inspect" an electronic device seems overly intrusive. It's not like the government can require a bodily cavity search at the border, so clearly there are limits that require a warrant.