So I already know from PM convo that you have an Aeotech Nano Dual
Here was original attempt with a regular Aeotech Nano: Aeotec nano switch logic with pir and switch
Per my recommendation the dual should be wired up like this:

With both of the outputs tied together and going to the light.
I am almost certain this should work as such:
- S2 Off: Only sensor will control light
- S2 On: Light will stay on regardless of motion sensor
- There is no way to fully disable the motion sensor in this setup.
Unless you have some other switch configuration? Are you using a regular switch or still this 3-position switch I didn't know about?