Term: sleep drunk
Example: harry potter was so sleep drunk that he gave hermione a good night kiss instead of ginny
Definition: when a person is intoxicated with sleep and has no idea what they are saying or doing