Pin 1 is the gate. A voltage on this pin switches on the transistor and allows current to flow between pins 2 & 3.
In a power supply the transistor is probably being used to chop up DC into pulses, so you would expect the gate voltage to be changing at some moderately high frequency. You would really need to probe the waveform at the gate to see if this looks right, but that's not easy as the circuit is on the high side of the power supply and is mains live.