Why would it be illegal for Cohen to use funds from his home equity loan facility for anything he pleased? His home is the security.
I think it has to do with tax deductibility under the old tax rules you could deduct interest only if it was used for the house or college.