AND two signals

Can anyone tell me how I can ‘AND’ two digital signals on arduino . Also, I want to confirm whether arduino take take 5V digital input signal.
Thanks

A 5V Arduino expects 0 to 5V digital signals.

result = signal1 & signal2; // (bitwise) AND

‘&’ is bitwise AND. If you want logical AND, it is ‘&&’
In the case of digital inputs, it equates to the same, but good to understand the difference

You're right, I wasn't thinking when I typed "logical".