PES Learning rule in nengo

Hello,
I am trying to implement PES learning rule.
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
Here A and B is the input and Y is output.


Can anyone help me where i made an error?

Thanks