The lever is used to open the secret room in the upper right side of the map. The lever fits into the stand on the floor to the right of the secret wall section. The secret wall section is on the left as you enter the room.
There are 10 types of people in the world, those that understand binary and those that don't