No, a cube is not a polygon. A cube is a 3-dimensional, solid figure. A polygon must be a flat, plane figure made up on line segments.
What is considered a polygon?
In geometry, a polygon (/ˈpɒlɪɡɒn/) is a plane figure that is described by a finite number of straight line segments connected to form a closed polygonal chain (or polygonal circuit). ... An n-gon is a polygon with n sides; for example, a triangle is a 3-gon. A simple polygon is one which does not intersect itself.
Is a square a polygon?
Non-Euclidean geometry
In spherical geometry, a square is a polygon whose edges are great circle arcs of equal distance, which meet at equal angles. Unlike the square of plane geometry, the angles of such a square are larger than a right angle.