Standard irrigation valves only have 2 wires. If I am interpreting what you are describing correctly. It sounds like there is some sort of relay logic involved.
One relay is "Normally Open" and another "Normally Closed" the only way to tell for sure is to use a meter and measure the voltage.
Then wire the valves accordingly.
https://sprinklerresource.com