Sexsomnia Disorder
Sexsomnia is a disorder in which people participate in sexual acts (either solo or with a partner) while sound asleep. It is classed as one of many parasomnias, which also include things like sleep-walking and talking. Though this is a relatively new syndrome (officially identified in 2003) it has already been accepted as a defense against some alleged rape cases.