It depends on how the Summary Plan Descriptions (SPDs) of the insurance plans are worded. Although there are several methods, in most cases, it depends on the birthdate (excluding the year) of the parents. The parent whose birthdate falls earlier in the year would be primary.
However, be sure to read both SPDs to verify that this is the method that both insurance companies are using.
/////////////////////