Eh, kinda, established case law, even citizens have limited rights near the border (with "near the border" being interpreted quite loosely). US citizens can refuse to give a password, but the govt can refuse to return the device and can make your life very difficult. This case, where data was destroyed, doesn't fall under existing case law, but if it gets to SCOTUS as long as a Republican is in the white House I expect SCOTUS to give all power, all the time, to the executive branch and none to us lowly peons, err, citizens.
Of course, ICE is known for laughing at laws and judicial rulings, so YMMV, IANAL, good luck and stay safe.