My understanding that simX corresponds to M.2 slot X.
So, if the modem is in slot 1, you need to toggle GPIO called sim1.
If you have a router running OEM or any other firmware where the modem works, it is worth checking the current GPIO state with cat /sys/kernel/debug/gpio.
Then once you back to the official OpenWrt, to toggle the named GPIO like sim1 you need to run
echo 1 > /sys/class/gpio/sim1/value
or
echo 0 > /sys/class/gpio/sim1/value
You will need to reset the modem after the SIM switching, not reboot the router!