A compound can also be hydrophobic AND hydrophillic such as the phospholipid molecule of the plasma membrane. The phospholipid molecule of the plasma membrane has a hydrophillic head and a hydrophobic tail (chain of Carbon atoms, which is non-polar). See image and caption
here.
Generally, a nonpolar compound is hydrophobic since water, the main solvent, does not attract or form any 'partial' bonds with nonpolar molecules.