If $students is an array (of arrays), then the object operator (->) would be invalid in this case $data->FullName.
It's difficult to understand exactly what you are trying to do, and without a wider context it is impossible to give you an answer. Maybe consider something like the following
$studentforms->filter(function ($data) {
return $data['FullName'] == request('search')['value'];
});