human
get the logical xor of two variables
assistant
Here is some code to get the logical xor of two variables `str1` and `str2`

return (bool(str1) ^ bool(str2))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.