5G new radio (NR) provides enhanced transmission capabilities to transceivers by utilizing the massive multiple-input multiple-output (MIMO) technology with a significantly increased number of antenna elements. Such transmission requires massive arrays to perform accurate high-gain beamforming over the millimeter-wave frequency band. There is no fixed form of array structures for 5G NR base stations, but they are likely to include multiple subarrays or panels for practicality of implementation and are expected to cover the user equipment (UE) in various locations. In this paper, we propose an array structure to transmit signals over the three-dimensional (3D) space in an isotropic fashion for all types of UEs in ground, aerial, and high-rise building locations, by employing panels on surfaces of a polyhedron. We further derive exact beamforming equations for the proposed array and show the resulting beams provide improved receiver performance over the exiting conventional beamforming. The presented beamforming expressions can be applied to an arbitrary multipanel array with massive antenna elements.