Sure... but I don't know where US citizens will go if they do not have residence in another country. Not everyone getting searched reside outside the US.
In that case you as a citizen are allowed to enter, but whatever they're searching (phone, computer, etc) may be detained and you'll be given a receipt and (often) an opportunity to claim it at a later date.