In my experience, the mental state you get right before you actually fall asleep is fairly similar to the brain-drunk state that some people get with very deep trance. Ever gone off to bed, almost fall asleep, but are startled by something? Maybe you realized that you were, just a second ago, awake ...