Project: Tester of light sources , need little advice

No

As S1 and R4 in the schematic I posted.
Closing S1 would cause a HIGH on the pin (if that’s what you wanted).

Use S3 if you want a LOW on a push.