Have i become a zombie or something?

i have been having a toothache and i could not sleep lately. last night, i was producing saliva i guess. i was at the edge of sleeping. i spat on my pillow. then i put my head on and slept. i remembered this in the morning and it was not a dream. i was half-conscious and i would not do it normally. it was disgusting and idk why i did such a thing.
Answers

hassan

no bro you must be too tired i guess because when im too tired i start talking when im sleeping