To see this merely note that any two element monoid $\left\langle M,\circ\right\rangle$ is of the form $\left\{e,a\right\}$ where $e$ is the identity element. Note then that $e$'s interaction with other elements of the monoid is fixed no matter how the other elements of the monoid act (since it is the identity element) therefore the only thing that may act differently is $a$. Since $a\circ e=e\circ a=a$ for any monoid, how $a$ may act differently is dependent only on what $a\circ a$ is. Particularly $a\circ a$ may be either $a$ or $e$. Clearly any monoid will be isomorphic to either of these constructions.