It is very simple using PLC ladder logic.
Writing programs ( or "sketches", or "scripts" ) is a different concept to ladder logic. Not necessarily harder or less simple, just different. If you are unable or unwilling to adapt to a different way of doing things, then perhaps Arduinos is not for you.
It is a very simple matter to write a program which detects the state of a switch, or any other kind of sensor input, and take some action when that occurs.