get the logical xor of two variables,return (bool(str1) ^ bool(str2))