Moshe Isserles (Rema) on Yoreh Deahsiman 246:4 allows study of שאר החכמות (wisdom), but limits this such that: this study is באקראי (non-fixed, as required, secondary to Torah); and excludes study of ספרי מינים ("heretical works").
yeshiva.org.il
Moshe Isserles (Rema) on Yoreh Deahsiman 246:4 allows study of שאר החכמות (wisdom), but limits this such that: this study is באקראי (non-fixed, as required, secondary to Torah); and excludes study of ספרי מינים ("heretical works").