Is it rape...?

I dont know if this is the right place to write this but im really confused since that night and i was afraid till now to tell this to anyone

So two years ago i was home alone and i invited a couple of friends at my house

I did not have a boyfriend but i had a crush on a guy. We started kissing and the he tried taking my shirt off but i wouldnt let him. He almost ripped my shirt off. I wasnt drunk so i could stop

Then he and another friend left

I was then at home with my best friend, her boyfriend and another guy. My best friend and her bf went in another room and left me with that friend. Well i did not liked this guy! At all. I mean, romantically or sexually. He did liked me tho and asked me a couple of times before if i would date him but i always said no

If i was sober i would never ever even kiss his cheek (i really didnt liked him) but i got sooo drunk that i cant remember most of that part of the night

I said yes to having sex tho then i passed out but he continued. I woke up to vomit and he was still next to me. All night he was in bed with me without me knowing (my best friend told me later). I literally cant remember most of that part of the night - most of it is what my bff told me

Next day after that i felt like puking all day thinking of what happend and i was sooo grossed out by myself and i showered all day because i felt so dirty

Is it rape if we did it? I said yes because i was suppper drunk and he knows that is the only reason i said yes and he also knew that i didnt liked him at all...