They detain you, probably take and keep your stuff, and within a relatively short amount of time release you.
Well, they probably release you. If you're brown or just dealing with the wrong people they may unlawfully beat, kidnap, and exile you anyway (https://en.wikipedia.org/wiki/Deportations_of_U.S._citizens_...).