I defined humanoid as standing upright on 2 legs with two arms and a head on top. I define gaseous as gaseous. And define aliens as intelligent beings and thus people, thus leaving out many animals.
Star Trek the Original Series or TOS:
"The Cage" Original pilot film. There are a few glimpses of strange lifeforms in other cages, but we don't know if they are people or animals.
"Charlie X": The Thasian says:
So maybe the true form of the Thasians counts as non humanoid and non gaseous..
In "The Squire of Gothos", there are intelligences which look like energy beings. I don't know if that is different enough from gaseous to count as non gaseous.
in "Arena" when aliens contact the Enterprise a moving multicolored geometrical pattern is seen on the screens. Later an alien appears who looks like a (human) boy to Kirk. But it unknown which, if either, is the real form of those aliens.
In "This side of Paradise" there a plants which might be intelligent or not.
In "The Devil in the Dark" there is an intelligent silicon based lifeform which sort of looks like a pile of rocks with a few tentacles.
In Errand of Mercy" there is a species of energy beings looking like glowing balls of light.
In "Operation Annihilate!" there are probably intelligent beings which look vaguely like flying pancakes or like more disgusting flying objects.
In "Catspaw" there a pair of very strange looking aliens.
In "Metamorphosis" there is being which is:
In "Obsession" there is a creature, intelligent or not, which seems to be a cloud of gas and thus not
satisfy the question.
In "Wolf in the Fold' the possible nature of the murderer is discussed.
"The Gamesters of Triskelion" are brains in transparent containers. The brains look similar to human ones, but I have no clue what their original bodies were like.
"The Immunity Syndrome" features a giant space amoeba, 5hough it probably isn't intelligent.
In "By Any Other Name" Spock remembers something from his mind meld with a Kelvin who took a human form.
In "Specter of the Gun" the Melkotian appears to be a floating head and neck.
There seems to be an energy being in "The Day of the Dove".
The Tholians in "The Tholian Web" appear to be crystals.
The spirts of dead Zetarians appear as lights in "The Lights of Zetar".
And In "The Savage Curtain" the Excalpians look like they are made of rock.
Star Trek the Original Series or TOS:
"The Cage" Original pilot film. There are a few glimpses of strange lifeforms in other cages, but we don't know if they are people or animals.
"Charlie X": The Thasian says:
And the form which the Thasian took to communicate with humans, and thus a more human looking form than its real form, was a giant floating transparent green human head.THASIAN: I have taken my form from centuries ago, so that I may communicate with you. We did not realise until too late that the boy had gone, and we are saddened that his escape cost the lives of the first ship. We could not help them, but we have returned your people and your ship to you. Everything is as it was.
So maybe the true form of the Thasians counts as non humanoid and non gaseous..
In "The Squire of Gothos", there are intelligences which look like energy beings. I don't know if that is different enough from gaseous to count as non gaseous.
in "Arena" when aliens contact the Enterprise a moving multicolored geometrical pattern is seen on the screens. Later an alien appears who looks like a (human) boy to Kirk. But it unknown which, if either, is the real form of those aliens.
In "This side of Paradise" there a plants which might be intelligent or not.
In "The Devil in the Dark" there is an intelligent silicon based lifeform which sort of looks like a pile of rocks with a few tentacles.
In Errand of Mercy" there is a species of energy beings looking like glowing balls of light.
In "Operation Annihilate!" there are probably intelligent beings which look vaguely like flying pancakes or like more disgusting flying objects.
In "Catspaw" there a pair of very strange looking aliens.
In "Metamorphosis" there is being which is:
Hydrogen is usually a gas, but ionized hydrogen can be considered a plasma, and thus in a different state of matter.KIRK: Staying right with us. Sensor readings, Mister Spock.
SPOCK: Vaguely like a cloud of ionised hydrogen, but with strong erratic electrical impulses.
In "Obsession" there is a creature, intelligent or not, which seems to be a cloud of gas and thus not
satisfy the question.
In "Wolf in the Fold' the possible nature of the murderer is discussed.
SPOCK: Computer, digest log recordings for past five solar minutes. Correlate hypotheses. Compare with life forms register. Question. Could such an entity within discussed limits exist in this galaxy?
COMPUTER: The Drella of Alpha Carinae Five derives nourishment from the emotion of love. There is sufficient precedent for existence of creature, nature unknown, which could exist on emotion of fear.
SPOCK: Computer, extrapolate most likely composition of such entity.
SPOCK: Working. To meet with specified requirements, entity would exist without form in conventional sense. Most probable mass of energy of highly cohesive electromagnetic field.
KIRK: Computer, could the described entity assume physical form?
COMPUTER: Affirmative. Precedent, mellitus, cloud creature of Alpha Majoris One.
HENGIST: Fairy tales. Ghosts and goblins.
KIRK: No, I've seen the mellitus myself. In its natural state, it's gaseous. When it's at rest, it's solid. Mister Spock, let's assume the existence of this creature.
"The Gamesters of Triskelion" are brains in transparent containers. The brains look similar to human ones, but I have no clue what their original bodies were like.
"The Immunity Syndrome" features a giant space amoeba, 5hough it probably isn't intelligent.
In "By Any Other Name" Spock remembers something from his mind meld with a Kelvin who took a human form.
SPOCK: A series of bizarre and exotic images bursting on my mind and consciousness. Colours, shapes, mathematical equations fused and blurred. I've been attempting to isolate them, but so far I've been able to recall clearly only one. Immense beings, a hundred limbs which resemble tentacles. Minds of such control and capacity that each limb is capable of performing a different function.
MCCOY: Do you mean that's what the Kelvans really are?
SPOCK: Undoubtedly.
In "Specter of the Gun" the Melkotian appears to be a floating head and neck.
There seems to be an energy being in "The Day of the Dove".
The Tholians in "The Tholian Web" appear to be crystals.
The spirts of dead Zetarians appear as lights in "The Lights of Zetar".
And In "The Savage Curtain" the Excalpians look like they are made of rock.