i actually have these states sometimes. when i dont sleep well or whenever i feel restless i sometimes lay down to sleep only to think that im awake and imagining things and then actually waking up realizing i was dreaming although everything felt real. doesnt happen a lot but its usually during a time period when im mentally tired
hope this isnt too tmi but my ex tried to have intercourse with me while i was at this state and even asked for my consent to do it without protection. since i wasnt really awake i didnt consent to anything, really. he used protection but he still took me. only when i woke up did i realize that we did the deed. i couldnt differentiate whether i was imagining things or if it really happened. i was really depressed and anxious during that time and only years later do i realize how fcked he was

How do people not know when they're awake or in a dream. It makes no sense.