Compared with traditional electrical logic gates, optical or terahertz (THz) computing logic gates have faster computing speeds and lower power consumption, and can better meet the huge data computing needs. However, there are limitations inherent in existing optical logic gates, such as single input/output channels and susceptibility to interference. Here, we proposed a new approach utilizing polarization-sensitive graphene-vanadium dioxide metasurface THz logic gates. Benefitting from two actively tunable materials, the proposed controlled-NOT logic gate(CNOT LG) enables versatile functionality through a dual-parameter control system. This system allows for the realization of multiple output states under diverse polarized illuminating conditions, aligning with the expected input-output logic relationship of the CNOT LG. Furthermore, to demonstrate the robustness of the designed THz CNOT LG metasurface, we designed an imaging array harnessing the dynamic control capabilities of tunable meta-atoms, facilitating clear near-field imaging. This research is promising for advancing CNOT LG applications in the THz spectrum. It has potential applications in telecommunications, sensing, and imaging.