They are both correct because they are saying different things.
Interest is generally deductible if the borrowed money is used for investment. So borrowing against the main resident would be deductible if the money is used to purchase an investment property. so the broker is correct
But...