The null hypothesis for this test states that the marginal probability for each outcome (label one or label two) is the same for both algorithms.
when applying both algorithms on the same data we would expect them to be correct/incorrect on the same proportion of items.