What is your definition of sex?

Long story...  
My boy yesturday told me we didn't have "sex" 
But I'm gonna specif that his penis penetrated my vagina, it was maybe not long and not in the right possition but I my opinion we still did it. 
What do you guys think? Did we really have sex?