in reply to create a array which is XOR of two arrays
This is a FAQ - How do I compute the difference of two arrays.