No, the 12th marks are not at all important for the NDA examination, however, having good marks will help you with your interview.