A box is typically a rectangle. A square is a rectangle.
Therefore, some boxes are square.
Semantically you would be more accurate. In so far as the case cited in this test, a box will mean a square.