I'm a little confused. Are you a US citizen? If you're ever refused at the border, there are other channels. One guy at one point of entry doesn't ultimately decide your fate.
Are you referring to the 2012 NDAA? Because that specific provision (that denies habeas corpus under the AUMF) has yet to be tested in court, and is unlikely to pass Supreme Court review.
> The United States Customs and Border Protection (CBP), ICE-HSI Special Agents, and Coast Guard officers (E4 grade and above) who are all customs officers (those tasked with enforcing Title 19 of the United States Code) with the United States Department of Homeland Security, are permitted to search travelers and their belongings at the American border without probable cause or a warrant.
If you Google the term "constitution-free zone", you can find numerous articles detailing the experiences various US citizens have had while traveling within the US (with no intention of crossing any national borders) of being stopped by federal agents from one of the groups listed above (CBP, ICE-HSI, Coast Guard) and being subjected to a search in violation of the Fourth Amendment.