A "nightgown" is something a woman would wear to sleep in, not a man. Barney makes up some words that are very manly and masculine. He is saying that no matter what you call it, this nightgown still a piece of woman's clothing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.