The usual variable names for ECC points P and Q being points on a curve is a distraction. ECC involves modular arithmetic with addition, multiplication, inverses. Quite clear this is not ECC.
The good news about XOR is it is bitwise addition modulo 2. There are many nice properties. Used alone it cannot really be used to protect anything as it's linear mapping and easily reversible. x^x==0, x^0==x, x^~x==1, x^1==~x. The basic properties are sufficient to invert this or simplify it.
