How can i set the pin?

if (digitalRead(1) == HIGH && digitalRead(2) == HIGH && digitalRead(3) == HIGH…