Compounds in which H is directly linked with N or O or F, have a capability of forming H -bonds which result in increased boiling point.
Among the given, only CH3OH and CH3NH2 are able to form H-bonds but H-bonding in CH3OH due to high electronegativity of O-atom, is strong. Hence, CH3OH has the highest boiling point.