There are no switches in Pokémon Mansion in LeafGreen. The switches you're thinking of are in the Pokémon Tower (Lavender Town), required to reach the top floor:
2nd floor: Left of staircase—opens path right of stairs.
3rd floor: Before 4th-floor entrance—opens path to top floor.
Bring Cut (for 4th-floor door) and Flash (for dark areas).