The lighting control system synthesizes a NOT operation using a NAND gate with its inputs tied together to satisfy the restricted component constraints. The output evaluates to 1 automatically when the ambient light sensor is low (dark).
Boolean Equation:
Street Light Output = ~(Ambient Light Sensor · Ambient Light Sensor)