Guy was a slang term for a man.
In 2365, Data told Guinan a joke ("A guy walks into the doctor's office. The doctor tells him you need an operation. The guy says I want a second opinion. The doctor said, okay, you're ugly too."), but it wasn't funny the way he said it. (TNG: "The Outrageous Okona")