Propagation of ultrashort laser pulses through various nano-objects has recently became an attractive topic for both theoretical and experimental studies due to its promising perspectives in a variety of problems of modern nanoelectronics. Here, we study the propagation of extremely short two-dimensional bipolar electromagnetic pulses in a heterogeneous array of semiconductor carbon nanotubes. Heterogeneity is defined as a region of enhanced electron density. The electromagnetic field in an array of nanotubes is described by Maxwell's equations, reduced to a multidimensional wave equation. Our numerical analysis shows the possibility of stable propagation of an electromagnetic pulse in a heterogeneous array of nanotubes. Furthermore, we establish that, depending on its speed of propagation, the pulse can pass through the area of increased electron concentration or be reflected therefrom.