The study has been performed to exhibit the magnetic properties of the hydrogenated nanodimond with nitrogen defect. The results obtained allows us to gain evidence that viruses-sensor employing nanodiamond with paramagnetic centre could be created. The Becke’s three-parameter hybrid functional, applying the non-local correlation provided by Lee, Yang, and Parr method with the 6-31G basis was approached. We found that the above compound substituted by banzoic acid possesses unpaired electrons and their magnetic properties are electric field depended. The possibility to create a biosensor employing nanodiamond with paramagnetic centre is foreseen.