Both of Barru Goldwater’s parents were legally married as well as US citizens.
Not the same thing in Obama’s case.
In terms of birthright citizenship, it doesn’t matter if the parents were married or not. Obama was born on US soil. He is a natural born citizen.