If someone sleepwalks and then murders/assaults/etc. someone all while they're sleeping, what, if any, responsiblity would they face? Has such a situation ever happened?
Being asleep usually precludes being prosecuted because a sleeping person can't form intent, a necessary component of most crimes.
However there are exceptions - there was, for example, a pretty brutal homicide of a young child in Ireland committed by an Irish Army Ranger (the elite wing of the Irish Defence Forces), while both were sleeping which did result in a manslaughter prosecution.