There are two terminals in a one way light switch. When the switch is on, both terminals are connected together.
Typically, these terminals will be marked COM and L1 (sometimes L1 and L2). Although, technically, it doesn’t matter which way round you connect the wires, it is best to stick to convention and connect the permanemt live (from the supply) to COM and the switched live (to the lamp) to L1.
This is the most common type of switch, and is used where a light is controlled from a single switch (although you will often see a two way switch used, with one terminal left unused).
This is fairly obvious, but when the switch is ‘on’ the COM and L1 terminals are connected together. When ‘off’ they are not.