N.M. Stat. § 45-2-117
No distinction based on marital status.
Except as otherwise provided in Section 45-2-114, 45-2-119, 45-2-120 or 45-2-121
NMSA 1978, a parent-child relationship exists between a child and the child's genetic
parents, regardless of the parents' marital status.