If the decision of switching between the two antennas is taken only at the level of the RF switches, is practically impossible to decide which antenna should be connected. You need extra information, which can be obtain if using mechanical or optical sensors.
If the antennas are used only in TX mode, may be a chance to build a VSWR detector, which can give the information if one of the antenna is not connected, and give the command to switch the RF signal path to the other antenna.