Piezoelectric cantilever resonator is one of the most promising platforms for real-time sensing of volatile organic compounds (VOCs). However, it has been a great challenge to eliminate the cross-sensitivity of various VOCs for these cantilever-based VOC sensors. Herein, a virtual sensor array (VSA) is proposed on the basis of a sensing layer of GO film deposited onto an AlN piezoelectric cantilever with five groups of top electrodes for identification of various VOCs. Different groups of top electrodes are applied to obtain high amplitudes of multiple resonance peaks for the cantilever, thus achieving low limits of detection (LODs) to VOCs. Frequency shifts of multiple resonant modes and changes of impedance values are taken as the responses of the proposed VSA to VOCs, and these multidimensional responses generate a unique fingerprint for each VOC. On the basis of machine learning algorithms, the proposed VSA can accurately identify different types of VOCs and mixtures with accuracies of 95.8 and 87.5%, respectively. Furthermore, the VSA has successfully been applied to identify the emissions from healthy plants and "plants with late blight"with an accuracy of 89%. The high levels of identifications show great potentials of the VSA for diagnosis of infectious plant diseases by detecting VOC biomarkers.