The effect of random internal waves on the gain and pattern of a horizontal antenna array in a shallow sea has been investigated. An algorithm for calculating the correlation matrix of the point source field at the grating aperture is proposed. The antenna gain is analyzed for different spatial processing methods: the beam forming method, the optimal linear processing method, and the optimal quadratic processing method. The effect of internal waves on the directivity pattern is described by the dispersion of the angular response of the grating. Numerical simulation results are presented for a model summer-type waveguide and an exponential Brunt–Väisälä frequency profile. The empirical internal wave spectrum proposed earlier from the SWARM95 experiment is used. The dependences of the antenna array characteristics on the number of its elements, orientation with respect to the source, radiation frequency, and the acoustic characteristics of the bottom are analyzed.