Here is what the Supreme Court said on this subject:
U.S. v. WONG KIM ARK, 169 U.S. 649 (1898)
http://caselaw.lp.findlaw.com/scripts/getcase.pl?court=US&vol=169&invol=649
Wong Kim Ark was not a candidate for
the US presidency, and that issue
was never under consideration in the
ruling of his case.