You are correct. Very rare conditions but they do exist.
In fact, there are probably people here on FR that have it.
Now the XXXY and XXXXY are rare.
These people are almost always mentally retarded.
With every extra "X" chromosome, the chance of mental impairment goes way up.
But they will still appear male.