it's already an array when you used explode to convert it from a string...
$cat_array = explode (',',$usercategories);if (in_category($cat_array) ) {