So I asked a friend of mine who's a customs officer.
He said that if you're a citizen, they pretty much have to let you into the country - but they don't have to make it easy. You can still be flagged for a hand-search of your baggage, interview/interrogation, and detention/seizure in the lead-up to either of the first two (even if you're a citizen, you still need to follow customs law). You can also be detained if they think the passport is fraudulent, but it's unlikely you'd be deported.
Bottom line is that if you're an asshole to the customs officer, they can flag you to have your bag hand-searched, have a few fines issued against you (customs law is so complex that almost everyone violates some small portion of it), and place a note in your file that will make this always happen.
I always enjoy visiting other countries because the immigration folks are so pleasant (except Japan). It catches me off guard every time. The immigration inspector in Oslo actually smiled and welcomed me to their country! Amazing!
When I come back to the US, it is always a lecture about something. "Your handwriting isn't good enough," was my favorite.
(I have always wondered what would happen if I refuse to answer the questions. Will I be deported ... to the US?)