It's possible there might be a lesser-known anime with a character named Gary, but without more context, it's impossible to say for sure.
Could you provide more information, such as:
* The genre of the anime: Is it a comedy, action, romance, etc.?
* Any other details about the character: What does he look like? What is his role in the story?
* Any other characters you remember from the show: This could help narrow down the possibilities.
With more information, I can help you identify the anime you're looking for.