A feature map makes XOR linear

ψ(x) = [x₁, x₂, x₁x₂]T
Original space — the best a single line can do
After ψ — drag to rotate