Histone demethylase that demethylates Lys-4 of histone H3, a specific tag for epigenetic transcriptional activation, thereby acting as a corepressor. Required for de novo DNA methylation of a subset of imprinted genes during oogenesis. Acts by oxidizing the substrate by FAD to generate the corresponding imine that is subsequently hydrolyzed.