The special cases of a square prism are
Only Cube
Only Cuboid
A square prism is a prism with square bases and either rectangular or square lateral faces.
A square prism with square bases and rectangular lateral faces is called a cuboid.
A square prism with square bases and square lateral faces is called a cube.