Our thinking does change when we are asleep. We are not that restrained by logical thought or control. It often manifests into various dreams as well. Sometimes the thoughts themselves may be symbolic and confusing. It may be dealing with stuff that happened years ago. I observe my thoughts during onset of sleep and while dreaming. Sometimes things I avoid thinking about bubbles up rather easily.
RE: How our Thoughts Change When We Sleep