Is a figure a square?

This depends what the figure is referencing.

A figure is only a square if it has four sides, all equal, connected by four angles, all right angles (90°).