Catalysis of the reaction: 2 dihydrogen + NAD + 2 an oxidized ferredoxin = NADH + 3 H+ + 2 a reduced ferredoxin