This is a semantic quibble as much as a substantive one. “Asleep” vs. “awake” isn’t really a binary distinction. Both sleepwalking (which isn’t a single well-defined thing) and the kind of awake-but-then-suffer-amnesia states you are talking about (can be caused by extreme tiredness, too much alcohol, dementia, etc.) fall somewhere in between full alertness and deep sleep.