UK border cops can seize and retail all your data without suspicion or charge

Can’t the USA border personnel also sieze your electronics and keep them indefinitely for no reason in particular? I recall something like that being in the news several years ago.