Hey DavidEriksson.

If you are using a permutation test, you will get a distribution of values for mean(y) - mean(x) and within this distribution, you want to find the values of this distribution where alpha/2 in probability are to the left of one critical value and alpha/2 are to the right of another critical.

If the two are equal, it means that 0 will be in the interval not corresponding to the tails and if not, it won't.

Specifically, lets say your left hand critical value is A and the right hand critical value is B, then your confidence interval for alpha will be [A,B]. If the difference of the population means that correspond to a hypothesis is in this interval you fail to reject, but otherwise you have evidence to reject that hypothesis.

Since you are looking at them being the same, you are testing with 0 is in this interval.