The 4th Amendment to the United States Constitution protects against unreasonable searches and seizures. This means that if a border agent stops you at the border and asks for your phone, they cannot search it without probable cause or a warrant.