The law written by Congress is pretty damn clear stating as it does:
Any alien who is physically present in the United States or who arrives in the United States (whether or not at a designated port of arrival and including an alien who is brought to the United States after having been interdicted in international or United States waters), irrespective of such alien’s status, may apply for asylum in accordance with [the procedures set forth elsewhere].” 28 U.S.C. § 1158(a) (emphasis added)
8 U.S.C. §1182(f) of United States Code
Whenever the President finds that the entry of any aliens or of any class of aliens into the United States would be detrimental to the interests of the United States, he may by proclamation, and for such period as he shall deem necessary, suspend the entry of all aliens or any class of aliens as immigrants or nonimmigrants, or impose on the entry of aliens any restrictions he may deem to be appropriate.
(1) In general Any alien who is physically present in the United States or who arrives in the United States (whether or not at a designated port of arrival and including an alien who is brought to the United States after having been interdicted in international or United States waters), irrespective of such aliens status, may apply for asylum in accordance with this section or, where applicable, section 1225(b) of this title.
What you would learn by reading on:
(2) Exceptions (A) Safe third country Paragraph (1) shall not apply to an alien if the Attorney General determines that the alien may be removed, pursuant to a bilateral or multilateral agreement, to a country (other than the country of the aliens nationality or, in the case of an alien having no nationality, the country of the aliens last habitual residence) in which the aliens life or freedom would not be threatened on account of race, religion, nationality, membership in a particular social group, or political opinion, and where the alien would have access to a full and fair procedure for determining a claim to asylum or equivalent temporary protection, unless the Attorney General finds that it is in the public interest for the alien to receive asylum in the United States.
That would be Mexico, and specifically Tijuana in the state of Baja California, Norte, but wait, there's more
(3) Limitation on judicial review No court shall have jurisdiction to review any determination of the Attorney General under paragraph (2).
... and still more:
(B) Additional regulatory conditions The Attorney General may provide by regulation for any other conditions or limitations on the consideration of an application for asylum not inconsistent with this chapter.