How do I set up XNOR And XOR logic gates if possibale?

read topic title for what I need help on.

XNOR is the logic gate where it is true if they are the same, right?
XOR is where if they are different, it is true, yes?

XNOR is where if both inputs are off or on then it sends a signal.
an XOR is where if one (not both) inputs are on then it sends a signal.

Alright, using blocks you could do

:if :get property:Property A: = : Get property: Property B::
Set property :Property C
Value: true
else:
Set Property : Property C
Value: false

You could do:
if a + b = 1
for XOR
and if not a + b = 1 for XNOR