A friend told me yesterday the amusing story of the Ring-Neck Snakes which have been invading their house in upstate New York. His Mrs. is so uneasy about snakes that she has been stuffing towels under her bedroom door.
They can't find their entry point. My friend smashed one with a book. The guy knows nothing about snakes. I advised him that Ring-Necks are pleasant harmless critters and you should just pick them up and put them in the woods out back. They won't even snap at you.
Snakes rarely enter buildings except for Yellow Rat Snakes which like barns with rats and mice. However, I googled Ring-Necked Snake + houses and found a professional snake remover who seems to deal with that fairly often.
I suspect they just like to explore tight spaces, and then find themselves in your living room with no way out.