Well, Theon knew they weren’t dead, because he knew he’d killed the miller’s boys and passed them off as Bran and Rickon.
However, Theon absolutely did not know that Bran and Rickon were in the crypts, because he was desperate to find them and would have gone looking.