Given an array of integers, determine whether the XOR of all its elements is 0. Return true if the cumulative XOR is zero, otherwise false.
Input: A JSON object {"nums": [<integers>]}.
Output: Return true if the XOR of every element is 0, otherwise false.
Input: {"nums":[1,2,3]}
Output: true
Explanation: 1^2^3 = 0 -> true.Input: {"nums":[1,2,4]}
Output: false
Explanation: 1^2^4 = 7 -> false.1 <= len(nums) <= 10^50 <= nums[i] <= 10^9