Like if it was Mew vs Mew, both had 1 HP left, and one used Explosion. Both Mews faint. Who would win in this case, assuming that the self-KO clause is not implemented?
This exact situation happen to me on the battle subway, my Ferrothorn used explosion and both Pokemon were KOed but sense i KO first, i lost, so to anser your question the side with the Exploding Pokemon will loose