What is the classification accuracy of a random classifier?
The equation of the classification accuracy for a random classifier (Random guess) is as follows:

Accuracy = 1/k (here k is the number of classes).
In your case, the value of k is 2.

So, the classification accuracy of the random classifier in your case is 1/2 = 50%