GO:0008115: sarcosine oxidase activity
Catalysis of the reaction: H(2)O + O(2) + sarcosine = formaldehyde + glycine + H(2)O(2).