I've been witness two sleepwalking events with different peopl. Both were fully conversant and aware of their surroundings, they just did odd things and we assumed they were drunk. Later we found out about the ambien and how neither had any recollection of the event.
But more fascinating still is what functionality in the brain even enables that.