Suppose we have set $X = A \cup B$ where $A, B$ are disjoint, $X$ is closed and $A$ is open.

$B$ cannot be open since this would imply $X$ is open (arbitrary unions of open sets is open), which is a contradiction.

Does this imply $B$ is closed, or could it be neither?